package com.slife.serial.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.slife.serial.domain.TbEltic;
import com.slife.serial.service.TbElticService;
import com.slife.serial.mapper.TbElticMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Dell
* @description 针对表【tb_eltic】的数据库操作Service实现
* @createDate 2023-09-14 13:05:53
*/
@Service
public class TbElticServiceImpl extends ServiceImpl<TbElticMapper, TbEltic>
    implements TbElticService{

    @Autowired
    private TbElticMapper tbElticMapper;
    @Override
    public List<TbEltic> selectByHour() {
        return tbElticMapper.selectByHour();
    }

    @Override
    public List<TbEltic> selectAccumulatingByHour() {
        return tbElticMapper.selectAccumulatingByHour();
    }
}




